import React, { Component } from 'react';
import {
    View, Text
} from 'react-native';
import styles from "./styles";

export default class MainTitle extends Component {

    constructor(props) {
        super(props);
        this.state = {
            
        };
    }
    
    render() {
        const {title} = this.props;
        return (
            <View style={styles.mainTitle}>
                <Text style={styles.title} >{title}</Text>
            </View>
        );
    }
    
}

